﻿using System;
using System.Collections.Generic;
using System.Windows;
using Red.Controls.Shell;

namespace Red.Controls.TimeLine.Dialogs
{
    public partial class AddTrackDialog : RedDialog
    {
        #region Properties

        public string TrackType { get; set; }
        public string TrackName { get; set; }

        #endregion

        #region C-tor

        public AddTrackDialog( FrameworkElement ownerSource )
            : base( ownerSource )
        {
            InitializeComponent();

            List<string> items = new List<string>() { "Track", "TracksGroup" };
            _trackType.ItemsSource = items;

            TrackType = items[0];
        }

        #endregion

        private void OnActivated( object sender, EventArgs e )
        {
        }

        private void OnDeactivated( object sender, EventArgs e )
        {
            Close();
        }
    }
}